home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gvfReturnToMain, gvfRealQuit, gvVolume, gSoundLevel1, gSoundLevel2
- ResetGlobals()
- set the keyDownScript to EMPTY
- set the mouseDownScript to EMPTY
- set the timeoutScript to EMPTY
- setGlobalVars()
- set gvfReturnToMain to 0
- set gvfRealQuit to 0
- set the keyDownScript to "checkKeyForQuit"
- set the exitLock to 1
- cursor(0)
- end
-
- on stopMovie
- global gSoundLevel1, gSoundLevel2
- set the volume of sound 1 to gSoundLevel1
- set the volume of sound 2 to gSoundLevel2
- end
-
- on setGlobalVars
- global SFX_EXT, MOV_EXT, DIR_SYM, IBM, gvCDHomePath, gSoundLevel1, gSoundLevel2, gvQuoteWait, gvFadeSndOnExit, gvSelectWait, gvQuitSong, gvVolume, gfMoreInfo
- if voidp(IBM) then
- set IBM to 256
- end if
- if voidp(DIR_SYM) then
- if the machineType = IBM then
- set DIR_SYM to "\"
- else
- set DIR_SYM to ":"
- end if
- end if
- if voidp(MOV_EXT) then
- set MOV_EXT to ".dxr"
- end if
- if voidp(SFX_EXT) then
- set SFX_EXT to ".aif"
- end if
- if voidp(gvCDHomePath) then
- set gvCDHomePath to the pathName
- end if
- set gfMoreInfo to 0
- set gvFadeSndOnExit to 90
- set gvCDHomePath to the pathName
- set gvQuoteWait to 240
- set gvSelectWait to 40
- set gvQuitSong to "toodleoo"
- set gvVolume to 4
- set the soundLevel to gvVolume
- set gSoundLevel1 to 255
- set gSoundLevel2 to 255
- set the volume of sound 1 to gSoundLevel1
- set the volume of sound 2 to gSoundLevel2
- end
-